#include "searchAlgo.h"

NodesOperator::NodesOperator()
{

}

NodesOperator::~NodesOperator()
{
    if(!nodesOperator.empty())
    {
        vector<Nodes*>::iterator iter;
        for(iter=nodesOperator.begin(); iter!=nodesOperator.end(); iter++)
        {
            delete *iter;
        }
    }
}

void NodesOperator::addNode_back(Nodes * node)
{
    nodesOperator.push_back(node);
}
